package com.yt.product.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 产品信息VO
 *
 * @author zhou
 * @Date 2025-09-05 11:31:42
 */
@Data
public class ProductInfoVO implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    @ApiModelProperty(value = "分类名称")
    private String categoryName;
    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;
    @ApiModelProperty(value = "产品类别ID")
    private Long categoryId;
    @ApiModelProperty(value = "状态（0禁用，1启用）")
    private Integer status;
    @ApiModelProperty(value = "库存")
    private Long stock;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
}
